﻿
@{
    ViewBag.Title = "Hotel";
    Layout = "~/Views/_LayoutPage1.cshtml";
}

<div>
    <header id="fh5co-header" class="fh5co-cover fh5co-cover-sm" role="banner" style="background-image: url('../../shouyeyangshi/images/work.jpg');">
        <div class="overlay"></div>
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-md-offset-2 text-center">
                    <div class="display-t">
                        <div class="display-tc animate-box" data-animate-effect="fadeIn">
                           
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <div id="fh5co-project">
        <div style="text-align: center; color: red; " class="jumbotron">
            <h1>酒店推荐</h1>
            <p>精心挑选的顶级酒店，为您提供舒适的住宿体验。</p>
        </div>
        <div class="container">
            <div class="row">
                @foreach (var item in ViewData["Hotel"] as List<WebApplication5.Models.Hotel>)
                {
                    <div class="col-md-4">
                        <img class="hotel-image" style="width:350px;height:300px;" src="~/Shouyeyangshi/images/@item.HotelImage" alt="酒店图片" />
                        <h3>酒店名称:<span style="color:red;font-weight:700;">@item.HotelName</span></h3>
                        <p class="hotel-description">
                            <span>酒店设施：</span>@item.HotelFacilities
                        </p>
                        <p class="hotel-description">
                            <span style="color:red;">酒店地址：</span>@item.Address
                        </p>
                        <p class="hotel-description">
                            <span style="color:red;">酒店电话：</span>@item.Phone
                        </p> <p class="hotel-description">
                            <span style="color:red;">酒店邮箱：</span>@item.Email
                        </p>
                        <p class="hotel-price">¥<span style="color:red; font-size:25px;">@item.HotelPirce</span>/晚起</p>
                        <a class="btn btn-primary btn-block " type="submit" href="/Home/Jiudian/@item.HotelId">立即预订</a>
                    </div>
                }
            </div>
            
            <div class="section-title">
                <h2>关于我们</h2>
                <p>这里是关于我们的简要介绍，可以包括酒店的历史、文化、理念等信息。</p>
            </div>
            <div class="section-title">
                <h2>联系我们</h2>
                <p>这里是联系我们的信息，可以包括酒店的地址、电话、邮箱等信息。</p>
            </div>
            <div class="section-title">
                <h2>客房预订</h2>
                <p>这里是客房预订的信息，可以包括酒店的客房类型、价格、预订方式等信息。</p>
            </div>
            <div class="section-title">
                <h2>餐饮服务</h2>
                <p>这里是餐饮服务的信息，可以包括酒店的餐厅类型、菜单、营业时间等信息。</p>
            </div>
        </div>
    </div>

</div>




